Download and Configure PAS
1. Download the domain binaries as mentioned in the Prerequisites section of this document.
2. To define the following environment variables at docker run time use the -e option in the command line or define them in the pas_env.dat file.
The environment configuration variables, that need to be set for the WebLogic admin server, managed servers, and application configuration are defined below:
| Configuration Parameters | Variable |
|---|---|
| Weblogic Admin Server Hostname | ADMIN_HOST |
| Application Domain Name | APP_DOMAIN_NAME |
| WebLogic Admin Server Port | ADMIN_PORT |
| Coherence Cluster Name | CLUSTER_NAME |
| WebLogic Admin Server Password | ADMIN_PASSWORD |
| Data Source Name | DSNAME |
| Data Source JNDI Name | DSJNDINAME |
| Data Source Database Name | DSDBNAME |
| Database Driver Class | DSDRIVER |
| Database Connection URL | DSURL |
| Data Source Test Query | DSTESTQUERY |
| Data Source Maximum Capacity | DSMAXCAPACITY |
| READ-ONLY Data Source Name | READONLYDSNAME |
| READ-ONLY Data Source JNDI Name | READONLYDSJNDINAME |
| Resource Data Source Name | RESOURCEDSNAME |
| Resource Data Source JNDI Name | RESOURCEDSJNDINAME |
| Search Data Source Name | SEARCHDSNAME |
| Search Data Source JNDI Name | SEARCHDSJNDINAME |
| Palette Data Source Name | PALETTEDSNAME |
| Palette Data Source JNDI Name | PALETTEDSJNDINAME |
| Palette IVS Data Source Name | PALETTEIVSDSNAME |
| Palette IVS Data Source JNDI Name | PALETTEIVSDSJNDINAME |
| Database Username | DSUSERNAME |
| Database Password | DSPASSWORD |
| Database Username for READ-ONLY Data Source | READONLYDSUSERNAME |
| Database Password for READ-ONLYData Source | READONLYDSPASSWORD |
| Database Username for ResourceData Source | RESOURCEDSUSERNAME |
| Database Password for ResourceData Source | RESOURCEDSPASSWORD |
| Database Username for SearchData Source | SEARCHDSUSERNAME |
| Database Password for SearchData Source | SEARCHDSPASSWORD |
| Database Username for PaletteData Source | DSPALETTEUSER |
| Database Password for PaletteData Source | DSPALETTEPASSWORD |
| Database Username for Palette IVSData Source | DSPALETTEIVSUSER |
| Database Password for Palette IVSData Source | DSPALETTEIVSPASSWORD |
| PAS Application Name | PAS_APP_NAME |
| Palette Application Name | PALETTE_APP_NAME |
| Application Machine Name | APP_MACHINE_NAME |
| Application Managed Server Name | APP_MSERVER_NAME |
| Application Managed Server Port | APP_MSERVER_PORT |
| Application Machine Port | APP_MACHINE_PORT |
| WebLogic Debug Port | DEBUG_PORT |
| AdminConsole PAS Port | AC_PAS_PORT |
| External Library Path | EXT_LIB_PATH |
| ATP Compatibility | ATP_COMPLIANT |
| AdminConsole Port | ENABLE_AC |
| Spring JAR Name | SPRING_JAR |
| CYCLE_TRUSTSTORE_PASSWORD | Cycle service trust store password |
| OUTBOUND_TRUSTSTORE_PASSWORD | Outbound service trust store password |
DSDRIVER : Provide the Database driver based on the database used.
ORACLE : oracle.jdbc.driver.OracleDriver
DB2: com.ibm.db2.jcc.DB2Driver
MSSQL : com.microsoft.sqlserver.jdbc.SQLServerDriver
DSURL: Provide the DataSource Connection URL based on the Database selected.
ORACLE: jdbc:oracle:thin:@//hostname:port/ServiceName
DB2 : jdbc:db2://hostname:port/DatabaseName
MSSQL : jdbc:sqlserver://hostname:port;databaseName=DatabaseName
Example: For SQL Server
When the encrypt property is set to true and the trustServerCertificate property is set to true, the Microsoft JDBC Driver for SQL Server won't validate the SQL Server TLS certificate. This setting is common for allowing connections in test environments, such as where the SQL Server instance has only a self-signed certificate.
jdbcUrl = jdbc:sqlserver://<host>:<port>;DatabaseName=<databasename>;encrypt=true;trustServerCertificate=true
ATP : jdbc:oracle:thin:@WALLET_DBNAME?TNS_ADMIN=/u01/oracle/externallibs/shared/atp/wallet/
| ATP Configuration Parameters | Variables | Example |
|---|---|---|
| Wallet Location | WALLET | /u01/oracle/externallibs/shared/atp/wallet |
| SSL Version | SSL_VERSION | 1.2 |
| Keystore Type | KEYSTORE_TYPE | JKS |
| Keystore Password | KEYSTORE_PASSWORD | KeyStore_Password |
| Truststore Type | TRUSTSTORE_TYPE | JKS |
| Truststore Password | TRUSTSTORE_PASSWORD | TrueStore_Password |
| Fan Enable | FAN_ENABLED | false |
| SSL Server DN | SSL_SERVER_DN_MATCH | true |
Note:
1. The ATP_COMPLIANT variable denotes whether the application is in compliance with ATP or not. Choose the appropriate option before provisioning the environment.
2. The ENABLE_AC variable denotes whether the application is further connected to the Admin Console or not. Choose the appropriate option before provisioning the environment.
3. Refer to the pas_env.dat file for more information regarding these variables.